home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / hardware / printer_drivers / hp_deskjet870c / install_driver < prev    next >
Text File  |  1999-05-14  |  1KB  |  39 lines

  1. . $VER: Install_Printer_Driver 2.0 (16/3/99)
  2. . Peter Hutchison
  3.  
  4. . WB 2.x
  5. If Not Exists c:RequestChoice
  6.    Copy HP_Deskjet_870C#? Devs:Printers
  7.    Sys:Prefs/Printer
  8.    Sys:Prefs/PrinterGfx
  9.    Quit
  10. Endif
  11. . WB 3.x
  12. RequestChoice >env:cpu "Select Processor version" "Which version of driver do you require?" "68000|68020|Cancel"
  13. If $CPU EQ "0"
  14.    Quit
  15. endif
  16. If $CPU EQ "1"
  17.   Copy HP_Deskjet_870C.000 to t:Driver
  18. Endif
  19. IF $Cpu EQ "2"
  20.   Copy HP_Deskjet_870C.020 to t:Driver
  21. Endif
  22. Copy t:Driver to t:HP_Deskjet_850C Quiet
  23. Copy t:Driver to t:HP_Deskjet_870C Quiet
  24. Copy t:Driver to t:HP_Deskjet_880C Quiet
  25. Copy t:Driver to t:HP_Deskjet_890C Quiet
  26. RequestFile >env:Driver Drawer t: Pattern "HP#?" Title "Select Driver" Noicons
  27. Copy $Driver Devs:Printers quiet
  28. Delete t:Driver t:HP#? quiet
  29. RequestChoice >env:NewPref "Printer Prefs" "Do you wish to change Printer Prefs?" "Yes|No"
  30. If $NewPref EQ "1"
  31.   sys:prefs/printer
  32. Endif
  33. RequestChoice >env:NewPref "PrinterGfx Prefs" "Do you wish to change PrinterGfx Prefs?" "Yes|No"
  34. If $NewPref EQ "1"
  35.   sys:prefs/printergfx
  36. Endif
  37.  
  38.  
  39.